home *** CD-ROM | disk | FTP | other *** search
- on beginSprite me
- set mySprite to the spriteNum of me
- DrawControlHNextLog(mySprite)
- end
-
- on mouseDown me
- global gCurrLog, gTotLog
- set mySprite to the spriteNum of me
- set myBtnUp to the name of member the member of sprite mySprite
- if char 4 to 5 of myBtnUp = "Of" then
- exit
- end if
- set the member of sprite mySprite to BtnDw(myBtnUp)
- updateStage()
- if the optionDown then
- LastH()
- else
- NextH()
- end if
- repeat with i = 1 to 4000
- if the mouseUp then
- exit repeat
- end if
- end repeat
- repeat while the stillDown
- if the optionDown then
- LastH()
- next repeat
- end if
- NextH()
- end repeat
- set the member of sprite mySprite to BtnUp(myBtnUp)
- updateStage()
- end
-